package org.example.pojo;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    public Long id;                   //uid
    public String account;           //账号
    public String password;          //密码
    public String username;          //用户名
    public String avatar;            //头像存储地址('/static/logo.png')
    public int sleepScore;           //睡觉评分
    public int totalSleepDays;       //记录天数
    public double averageSleepHours; //平均睡眠时间(h)
    public String sleepQuality;      //睡觉质量('优','良','一般','差')
    public String reporter;
}
